<%=render :partial => "/frame_top" %>
<h1 class="title_header"><%=t (@place.new_record? ? "place.new" : "place.edit" + ": " + @place.name) %></h1>
<a name="#top_place_form"></a>
<% form_for :place, :html => { :multipart => true, :id => "place_form", :class => "core_form" }, 
		:url => (@place.new_record? ? "/places/create" : "/places/update/#{params[:id]}") do |place_form| -%>		
<table class="table_core_form">
	<tr>
		<td class="label_cell_form"></td>
		<td class="label_input_form"><%= error_messages_for :place %></td>
	</tr>
	<%=render :partial => "fields", :object => place_form %>
	<tr>
		<td class="label_cell_form"></td>
		<td class="label_input_form">
			<%= submit_tag I18n.t(@place.new_record? ? 'place.new_button' : 'place.edit_button'), 
					:class => "button_form", :id => "place_submit" %>
		</td>
	</tr>
</table>
<% end %>
<%=render :partial => "/frame_bottom" %>
<script type="text/javascript">connectPlaceFields();</script>